home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2241 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: erich.triumf.ca!bennett
  2. From: bennett@erich.triumf.ca (P.Bennett)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Divide Screen into 2 parts ..? HOW ??
  5. Date: 19 Jan 1996 15:31 PST
  6. Organization: TRIUMF: Tri-University Meson Facility
  7. Distribution: world
  8. Message-ID: <19JAN199615312148@erich.triumf.ca>
  9. References: <3100120f.11952411@news.hom.net>
  10. NNTP-Posting-Host: ftp.triumf.ca
  11. News-Software: VAX/VMS VNEWS 1.50    
  12.  
  13. In article <3100120f.11952411@news.hom.net>, jcharper@hom.net writes...
  14. >I'm pretty new to C, and I need to know how to divide the screen into
  15. >two different sections, and have some data being printed in the top
  16. >section, and some data printed into the second section. Like, a
  17. >program will ask for data in the top section, and print the results in
  18. >the bottom section, but the top section will still be there, and not
  19. >scroll off the screen. Any ideas how to do this in C ? Anything is
  20. >appreciated.
  21.  
  22.  
  23. The C language itself doesn't do any fancy screen manipulation - you will have
  24. to look to your particular operating system and compiler for such facilities.
  25.  
  26. Borland compilers for DOS have a window() function defined in conio.h that 
  27. will help with this. 
  28. Microsoft likely has a similar  function, but it may have a different name.
  29.  
  30.  
  31.  
  32. Peter Bennett VE7CEI                | Vessels shall be deemed to be in sight
  33. Internet: bennett@triumf.ca         | of one another only when one can be
  34. Packet: ve7cei@ve7kit.#vanc.bc.ca   | observed visually from the other
  35. TRIUMF, Vancouver, B.C., Canada     |                          ColRegs 3(k)
  36. GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
  37.  
  38.  
  39.  
  40.